package com.love.marriage.userBehaviorInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  用户行为信息表类
 * author:       alex
 * createDate: 2024-10-14 23:30:59
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_behavior_info_t")
@Schema(description = "用户行为信息表")
public class UserBehaviorInfo extends BaseEntity<UserBehaviorInfo>{

    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "行为类型(like:喜欢, collect：收藏, chat:聊天, view：查看)", type = "String", implementation = String.class)
    @TableField("action_type")
    private String actionType;

    @Schema(description = "被喜欢人id", type = "Long", implementation = Long.class)
    @TableField("actor_id")
    private Long actorId;

}
